RdDownloads\App\Libraries\Github D

Total Complexity 225
Dependencies 7
Dependents 10
Total lines 1,309
Lines of code 731
Logical lines of code 411
Comment lines 418
Methods 32
Properties 8

Methods 32

Method Rating Maintainability Complexity Lines of code
apiGetLatestRepositoryData()
D
23
57 163
validateGitHubWebhook()
B
40 17 59
webhookPingCheckConfig()
A
48 15 32
oauthGetAccessToken()
A
46 13 37
webhookIsCommit()
A
52 13 26
apiAddUpdateGitHubWebhook()
A
48 9 31
apiV3RequestMultiPages()
A
49 9 30
webhookIsTagging()
A
54 9 22
apiV3Request()
A
47 8 35
setUserAgent()
S
60 8 12
apiGetWebhookId()
S
56 7 17
apiV4Request()
S
51 6 28
oauthGetLink()
S
53 5 21
isSettingToAutoUpdate()
S
55 5 20
getNameWithOwnerFromUrl()
S
57 5 17
getOAuthAccessToken()
S
63 6 10
getWebhookSecretKey()
S
63 6 10
isClientIdSecretWasSet()
S
63 5 11
graphQLLatestRepositoryData()
S
51 1 54
apiRemoveWebhook()
S
64 3 9
oauthDisconnect()
S
67 3 7
graphQLAllRepositories()
S
61 1 29
generateWebhookSecretKey()
S
70 2 6
webhook()
S
67 2 7
isOAuthDisconnected()
S
71 2 6
webhookGetHeaderEvent()
S
67 2 8
__construct()
S
72 1 6
getWebhookSecretName()
S
82 1 3
getWebhookPayloadUrl()
S
78 1 3
getOAuthAccessTokenName()
S
82 1 3
apiV3Headers()
S
71 1 6
getWebhookValidSecretKey()
S
82 1 3